'use strict'

let koa = require('koa');
let app = new koa();

let temp = require('./templating');
let server = require('koa-static');

app.use(temp);
app.use(server(__dirname));

app.use(async(ctx,next)=>{
    ctx.render("index.html");
})

app.listen(5006);

console.log("http://127.0.0.1:5006");